import React, { Component } from 'react'
import ReactDOM from 'react-dom'

class App extends Component {
  constructor (props) {
    super(props)

    this.state = {
      message: 'Hello React'
    }
  }

  render () {
    return (
      <div>
        <h2>{this.state.message}</h2>
        <p style={{ border: '1px dashed #ccc', margin: '10px', padding: '10px', boxShadow: '0 0 10px #ccc' }}>这个是个评标前呀</p>
      </div>
    )
  }
}

ReactDOM.render(<App />, document.getElementById('app2'))
